Facility Navigation Bar Tool – Events

The following table lists and describes events of the Facility Navigation Bar Tool.

Event Description

EventInitialize

EventInitialize runs when TheView is started in Run or Preview mode to allow further initialization for the control.

EventOnSelChangeLevel

EventOnSelChangeLevel runs when a user changes the current selection in the navigation bar. EventOnSelChangeLevel will trigger whenever SelPrev, NavPrev, SelNext or NavNext are called. See Facility Navigation Bar Tool Methods and Group Navigation Bar Tool Methods.

Also see Synchronizing the View with a Group Navigation Bar for more information about this event.

EventPointChange

EventPointChange runs when an unrelated point is updated. This event can significantly reduce initialization time for screens that may contain objects configured for unrelated points. Unrelated points can be registered using an object’s RegisterPointForChangeNotice method, if applicable.

EventPreToolTip

EventPreToolTip gives a script writer an opportunity to create a custom tooltip via script just before the tooltip is shown, when it is needed, and not during screen initialization, which can reduce loading time.

Example
Copy

EventPreToolTip

Sub TextTool1_EventPreToolTip()
    Dim This : Set This = TextTool1
    This.ToolTipText = The tooltip text()
End Sub

EventPumpData

EventPumpData is a legacy event, and is effectively obsolete. Do not use.

In the past, this event would run when data was "pumped" to TheView.

EventRefreshTargetData

EventRefreshTargetData runs when the target level data is refreshed.